
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class Address
    {
		#region Members
		private int _AddressId;
		private string _Address1;
		private string _Address2;
		private string _Street;
		private string _City;
		private string _PostCode;
		private int _StateId;
		private int _CountryId;
		private bool _IsPostal;
		private double _Latitude;
		private double _Longitude;
		private bool _IsActive;
		private DateTime _DateCreated;
		private string _CreatedBy;
		private DateTime _DateUpdated;
		private string _UpdatedBy;
		#endregion

		#region Properties
		
		public int AddressId
		{
			get	{ return _AddressId; }
			set	{ _AddressId = value; }
		}
		
		public string Address1
		{
			get	{ return _Address1; }
			set	{ _Address1 = value; }
		}
		
		public string Address2
		{
			get	{ return _Address2; }
			set	{ _Address2 = value; }
		}
		
		public string Street
		{
			get	{ return _Street; }
			set	{ _Street = value; }
		}
		
		public string City
		{
			get	{ return _City; }
			set	{ _City = value; }
		}
		
		public string PostCode
		{
			get	{ return _PostCode; }
			set	{ _PostCode = value; }
		}
		
		public int StateId
		{
			get	{ return _StateId; }
			set	{ _StateId = value; }
		}
		
		public int CountryId
		{
			get	{ return _CountryId; }
			set	{ _CountryId = value; }
		}
		
		public bool IsPostal
		{
			get	{ return _IsPostal; }
			set	{ _IsPostal = value; }
		}
		
		public double Latitude
		{
			get	{ return _Latitude; }
			set	{ _Latitude = value; }
		}
		
		public double Longitude
		{
			get	{ return _Longitude; }
			set	{ _Longitude = value; }
		}
		
		public bool IsActive
		{
			get	{ return _IsActive; }
			set	{ _IsActive = value; }
		}
		
		public DateTime DateCreated
		{
			get	{ return _DateCreated; }
			set	{ _DateCreated = value; }
		}
		
		public string CreatedBy
		{
			get	{ return _CreatedBy; }
			set	{ _CreatedBy = value; }
		}
		
		public DateTime DateUpdated
		{
			get	{ return _DateUpdated; }
			set	{ _DateUpdated = value; }
		}
		
		public string UpdatedBy
		{
			get	{ return _UpdatedBy; }
			set	{ _UpdatedBy = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public Address(int AddressId, string Address1, string Address2, string Street, string City, string PostCode, int StateId, int CountryId, bool IsPostal, double Latitude, double Longitude, bool IsActive, DateTime DateCreated, string CreatedBy, DateTime DateUpdated, string UpdatedBy)
        {
			 _AddressId = AddressId;
			 _Address1 = Address1;
			 _Address2 = Address2;
			 _Street = Street;
			 _City = City;
			 _PostCode = PostCode;
			 _StateId = StateId;
			 _CountryId = CountryId;
			 _IsPostal = IsPostal;
			 _Latitude = Latitude;
			 _Longitude = Longitude;
			 _IsActive = IsActive;
			 _DateCreated = DateCreated;
			 _CreatedBy = CreatedBy;
			 _DateUpdated = DateUpdated;
			 _UpdatedBy = UpdatedBy;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public Address()
        {

        }
		#endregion
	}
}
